import request from '@/utils/request'

export default {
    //查询分类
    getTypeList(){
        return request({
            //url: '/context/blog/listPage/'+current+'/'+size,
            url: `/context/type/list`,
            method: 'get'
          })
    },
    //根据id查询分类  
    selectOne(blogId){
        return request({
            url: `/context/type/selectOneType/${blogId}`,
            method: 'get',
          })
        },
        //获取map类型的type值
     getTypeMap(){
        return request({
            url: `/context/type/getTypeMap`,
            method: 'get',
          })
     }  
}
